#include "Texture.h"
#include <cassert>

void mdx::Texture::Init(ID3D11Device* pDevice, const std::wstring& path)
{
	HRESULT hr;
	hr = D3DX11CreateShaderResourceViewFromFile(pDevice, path.c_str(), nullptr, nullptr, &m_pMapView, nullptr);
	assert(SUCCEEDED(hr));
}
